package com.course.enums;

import lombok.Data;

public enum CourseType {
    // 免费收费两种状态
    FREE(0, "免费"),
    CHARGE(1, "收费");
    private Integer code;
    private String message;
    CourseType(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }
}
